package org.jeecg.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 用户通告阅读标记表
 * @Author: liurui
 * @Date:  2019-11-27
 * @Version: V1.0
 */
@Data
@TableName("sys_announcement_read")
public class SysAnnouncementRead implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
	private String id;
	/**通告id*/
	private String anntId;
	/**用户id*/
	private String userId;
	/** PC首次阅读时间 */
	private Date pcFirstReadTime;
	/** PC首次阅读IP */
	private String pcFirstReadIp;
	/** APP首次阅读时间 */
	private Date appFirstReadTime;
	/** APP首次阅读IP */
	private String appFirstReadIp;
	/** PC末次阅读时间 */
	private Date pcLastReadTime;
	/** PC末次阅读IP */
	private String pcLastReadIp;
	/** APP末次阅读时间 */
	private Date appLastReadTime;
	/** APP末次阅读IP */
	private String appLastReadIp;
	/** 附加信息 */
	private String additional;
	/**创建人*/
	private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**更新人*/
	private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	private String delFlag;
}
